import request from '@/router/axios'

export function save (data) {
  return request({
    url: '/config',
    method: 'post',
    data:data
  })
}

export function getConfigByKeys (data) {
  return request({
    url: '/config/keys',
    method: 'get',
    params:data
  })
}

export function page (data) {
  return request({
    url: '/config/page',
    method: 'get',
    params:data
  })
}